using System;
using SBCommon.Data;
using SBCommon.Validation;

namespace SecurityModule.Entity
{
	[Table("[SEC_Configuration]")]
    public class Configuration
    {
        int _conf_id;
        [Column]
        [Validator(Required = true)]
        public int conf_id
        {
            get { return _conf_id; }
            set { _conf_id = value; }
        }
        
        string _conf_type;
        [Column]
        [Validator(MaxLength = 50 , Required = true)]
        public string conf_type
        {
            get { return _conf_type; }
            set { _conf_type = value; }
        }
        
        string _conf_name;
        [Column]
        [Validator(MaxLength = 50 , Required = true)]
        public string conf_name
        {
            get { return _conf_name; }
            set { _conf_name = value; }
        }
        
        string _conf_value;
        [Column]
        [Validator(MaxLength = 2000)]
        public string conf_value
        {
            get { return _conf_value; }
            set { _conf_value = value; }
        }
        
        string _conf_value2;
        [Column]
        [Validator(MaxLength = 500)]
        public string conf_value2
        {
            get { return _conf_value2; }
            set { _conf_value2 = value; }
        }
        
        string _conf_value3;
        [Column]
        [Validator(MaxLength = 500)]
        public string conf_value3
        {
            get { return _conf_value3; }
            set { _conf_value3 = value; }
        }
        
        string _conf_value4;
        [Column]
        [Validator(MaxLength = 500)]
        public string conf_value4
        {
            get { return _conf_value4; }
            set { _conf_value4 = value; }
        }
        
    }
}

